﻿<!DOCTYPE html>
<html>
<head>
    <title>Manage User Queries</title>
    <script src="ClientGlobalContext.js.aspx" type="text/javascript"></script>
    <script src="dyn_JQuery.js"></script>
    <script src="dyn_JSON2.js"></script>
    <script src="dyn_ManageUserQuery.js"></script>
    <link href="dyn_ManageUserQuery.css" rel="stylesheet" />
</head>
<body>
    <form id="manageUserQueryForm">
        <div id="formContainer">
            <table cellpadding="2" cellspacing="3">
                <tr>
                    <td colspan="4">
                        <div class="sectionTitle">Manage User Personal Views</div>
                        <div>This utility allows you to view, delete and assign user's Personal Views. 
                            <br />In order to manage other user's Peronal Views, this utility must be run under a Security Role 
                            <br />with the 'act on behalf of another user' privilege (such as System Administrator).<br />
                        </div>
                        <br />
                    </td>
                </tr>
                <tr>
                    <td>
                        Select System User
                    </td>
                    <td>
                        <select id="SystemUsers" title="Select user to view related Personal Views"></select>
                    </td>
                </tr>
                <tr>
                    <td>
                        Select Personal Views
                    </td>
                    <td>
                        <select id="UserQueries" multiple="multiple" size="10" title="Select views"></select>
                    </td>
                </tr>                
                <tr>
                    <td>Select Operation</td>
                    <td>
                        <input name="operation" type="radio" value="assign" checked="checked" title="Assign selected views to your user" />Assign to me<br>
                        <input name="operation" type="radio" value="delete" title="Delete selected views" />Delete<br>
                    </td>
                </tr>
            </table>
        </div>
        <div>
            <br />
            <input type="button" id="executeAction" value="Execute Operation" class="fb5" />
        </div>
        <br />
        <div id="userMessages" class="userSuccessMessages"></div>
    </form>
</body>
</html>
